From c6081a27e7bfae5a66eef8767d592782c40f446c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C3=ABl=20Cadilhac?= Date: Sun, 26 Aug 2007 19:20:10 +0000 Subject: [PATCH] (PC-do-completion): Make RET accept a non-unique but complete expansion again. --- lisp/complete.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lisp/complete.el b/lisp/complete.el index 75774b65db0..01db126c5f8 100644 --- a/lisp/complete.el +++ b/lisp/complete.el @@ -831,12 +831,12 @@ GOTO-END is non-nil, however, it instead replaces up to END." (setq completion-base-size (if dirname dirlength (- beg prompt-end)))))) - (PC-temp-minibuffer-message " [Next char not unique]")))))) - ;; Expansion of filenames is not reversible, so just keep - ;; the prefix. + (PC-temp-minibuffer-message " [Next char not unique]")) + ;; Expansion of filenames is not reversible, + ;; so just keep the prefix. (when (and abbreviated filename) (delete-region (point) end)) - nil) + nil))))) ;; Only one possible completion (t -- 2.30.2